Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2001
Posts: 644
Member
Member
Offline
Joined: Mar 2001
Posts: 644
I didn't want to append this to the existing IIP thread so I figured I'd start a new post, hoping someone here has more brains than I to figure out why this won't work.

Ok so here's the scoop:

On my site I run Mike Bobbitt's Photo Album script and I'm trying to include the SSI he has available for a random photo from the album in a custom PAL box.

I've created the new PAL page and I did the include according to how I've read it's SUPPOSED to be done, but I just get an error:

Warning: Failed opening 'http://album.sofguild.com/cgi-bin/album/album.pl?random=1;ssi=1' for inclusion (include_path='.;c:\php4\pear') in c:\webs\forum\pals\randomphotopal.php on line 1

I've tried using a URL and a disk based path to the file and it simply doesn't work. I've tested the include statement on an HTM page, and I can include a basic text file this way on a test PHP page, but not the Perl script.

Mike's stumped and so am I... so I'm tossing this out to you folks to see what you come up with.

Thanks in advance for any suggestions!

Zack

Sponsored Links
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
It is probably because you include the passed parameters ?random=1;ssi=1 in the include directive. Your best bet is to set the variables before you set the include directive which has to be a reference on a file. I am not sure though that it will work with Perl files


Nikos
Joined: Mar 2001
Posts: 644
Member
Member
Offline
Joined: Mar 2001
Posts: 644
Hmm, that's kind of what I was thinking... Guess I'll put this on the back burner and kick it around some, while I finish upgrading my site to 6.3.

Thanks!


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 253
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 435
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 18
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)